package com.qyhl.module_home.home.panzhou;

import com.qyhl.webtv.commonlib.entity.home.GatherBean;
import com.qyhl.webtv.commonlib.entity.home.HomeBean;
import com.qyhl.webtv.commonlib.entity.news.AdvHomeBean;

import java.util.List;

public interface PanZhouListContract {
    interface PanZhouListView {
        void setConfig(HomeBean bean);

        void setGatherNews(List<GatherBean> data, boolean isMore);

        void showError(String msg);

        void showMessage(String msg);

        void showEmpty(String s);

        void setAdvBanner(List<AdvHomeBean> list);
    }

    interface PanZhouListPresenter {
        void getConfig();

        void getGatherData(int page, int lastNewsId, String type);

        void getAdvData();

        void setConfig(HomeBean bean);

        void setGatherNews(List<GatherBean> data, boolean isMore);

        void setError(int code,String msg);

        void setAdvBanner(List<AdvHomeBean> list);
    }

    interface PanZhouListModel {
        void getConfig();

        void getGatherData(int page, int lastNewsId, String type);

        void getAdvData();
    }
}
